﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;      
using System.Text;
using System.Windows.Forms;
using EnvDTE;
using RuleCode.ObjectTree;

namespace VSObjectTreeAddIn
{
    public partial class UserControl1 : UserControl
    {
        public  EnvDTE.DTE applicationObject;

        public UserControl1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //MessageBox.Show("success");

            if (applicationObject != null)
                textBox1.Text = applicationObject.Solution.FileName;
        }

        private void UserControl1_Load(object sender, EventArgs e)
        {
            
            //textBox1.Text = Util_DTE.AddName;
        }
    }
}
